import os
from pathlib import Path
from os.path import join, dirname


# 主项目路径
BASE_PATH = Path(dirname(dirname(dirname(__file__))))

# 图片资源路径
UI_RES_PATH = Path(join(dirname(__file__), 'static/img'))

# 边框样式
CAM_STYLE = 'border-width: 3px;border-style: solid;border-color: rgb({}, {}, {});'
